/**
 * 
 */
package net.xfok.db;

/**
 * @author user
 *
 */
public class ORM {
	
	public final static String COLUMN_TYPE_INTEGER="INTEGER";
	public final static String COLUMN_TYPE_BIGINT="BIGINT";
	public final static String COLUMN_TYPE_VARCHAR="VARCHAR";
	public final static String COLUMN_TYPE_DATETIME="DATETIME";
	public final static String COLUMN_TYPE_FLOAT="FLOAT";
	public final static String COLUMN_TYPE_TEXT="TEXT";
	
	public final static String CONSTRAINT_NOT_NULL="NOT NULL";
	public final static String CONSTRAINT_PRIMARY_KEY="PRIMARY KEY AUTOINCREMENT";
	
	public final static int DEFAULT_VARCHAR_LONG=200;
	public final static String DEFAULT_DATE_FORMAT="yyyy-MM-dd HH:mm:ss";
	
	public final static String FIELD_ID_NAME="id";
	public final static String FIELD_ID_VALUE="null";
	public final static String FIELD_TEXT_NAME="text";
	
	public final static String FIELD_TYPE_STRING="String";
	public final static String FIELD_TYPE_INT="int";
	public final static String FIELD_TYPE_FLOAT="float";
	public final static String FIELD_TYPE_DATE="Date";
	public final static String FIELD_TYPE_LONG="long";

}
